<#assign fields=parm["fields"] >
{
	"cells": [{
		"shape": "edge",
		"attrs": {
			"line": {
				"stroke": "#7c68fc",
				"targetMarker": {
					"name": "block",
					"width": 12,
					"height": 8
				}
			}
		},
		"id": "70aebc97-f7bb-40eb-85ef-9d25eba84ee1",
		"zIndex": 0,
		"source": {
			"cell": "77ba8e19-d08c-482e-bf23-555561b03c94",
			"port": "2ef91475-6e9f-4fd1-86e1-5d92a37398de"
		},
		"target": {
			"cell": "46f958ec-6a82-45cd-9f9d-8326932104ce",
			"port": "0b0e762e-9419-4202-af0d-0b176bf6737c"
		}
	}, {
		"shape": "edge",
		"attrs": {
			"line": {
				"stroke": "#7c68fc",
				"targetMarker": {
					"name": "block",
					"width": 12,
					"height": 8
				}
			}
		},
		"id": "7f47b5bc-0a38-40c9-9028-ed7c16a7753b",
		"zIndex": 0,
		"source": {
			"cell": "46f958ec-6a82-45cd-9f9d-8326932104ce",
			"port": "9da1124c-1ce5-46ea-9fb7-5fd90e89c1da"
		},
		"target": {
			"cell": "a5b1dea6-3430-4383-8dcf-239f8cb2d1dc",
			"port": "8bb0d10e-44bb-46ae-a598-3881d04979ec"
		}
	}, {
		"position": {
			"x": 510,
			"y": 470
		},
		"size": {
			"width": 100,
			"height": 38
		},
		"attrs": {
			"body": {
				"fill": "#67C23A",
				"stroke": "#2dc9be",
				"strokeWidth": "1",
				"ValTxt": "结束组件",
				"ValType": "end"
			},
			"label": {
				"fill": "#fff",
				"refX": "50%",
				"textAnchor": "middle",
				"text": "结束组件",
				"y": 20
			},
			"variable": {
				"text": null
			},
			"field": {
				"text": null
			},
			"position": {
				"0": "b",
				"1": "o",
				"2": "t",
				"3": "t",
				"4": "o",
				"5": "m"
			}
		},
		"shape": "custom-node",
		"tools": {
			"items": [{
				"name": "button-remove",
				"args": {
					"x": 100,
					"y": 0
				}
			}]
		},
		"id": "a5b1dea6-3430-4383-8dcf-239f8cb2d1dc",
		"ports": {
			"groups": {
				"top": {
					"position": "top",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"right": {
					"position": "right",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"bottom": {
					"position": "bottom",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"left": {
					"position": "left",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"end": {
					"position": "top",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#31d0c6",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"start": {
					"position": "bottom",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				}
			},
			"items": [{
				"group": "end",
				"id": "8bb0d10e-44bb-46ae-a598-3881d04979ec"
			}]
		},
		"zIndex": 8,
		"formData": {
			"type": "end",
			"code": 1694437913678,
			"name": "处理结束",
			"flag": "200",
			"msg": "",
			"argProperties": [],
			"circulationList": []
		}
	}, {
		"position": {
			"x": 410,
			"y": 270
		},
		"size": {
			"width": 300,
			"height": 80
		},
		"attrs": {
			"body": {
				"fill": "#fff",
				"stroke": "orange",
				"strokeWidth": "2",
				"ValTxt": "快速删除",
				"ValType": "db_fast_delete"
			},
			"label": {
				"text": "快速删除",
				"y": 15
			},
			"variable": {
				"fill": "#004EA2",
				"text": "名称：从数据库中删除",
				"title": "从数据库中删除"
			},
			"field": {
				"fill": "green",
				"text": "出参："
			},
			"position": {
				"0": "b",
				"1": "o",
				"2": "t",
				"3": "t",
				"4": "o",
				"5": "m"
			}
		},
		"shape": "custom-node",
		"tools": {
			"items": [{
				"name": "button-remove",
				"args": {
					"x": 300,
					"y": 0
				}
			}]
		},
		"id": "46f958ec-6a82-45cd-9f9d-8326932104ce",
		"formData": {
			"type": "db_fast_delete",
			"code": 1694437922082,
			"name": "从数据库中删除",
			"table": "${parm.tableName}",
			"safetyCheck": "1",
			"updateCondition": [{
				"left": null,
<#list fields as item >
	<#if item.isPk == '1'>
				"condition1": "${item.columnName}",
				"compute": "=",
				"condition2": "${r"${"}${item.columnName}${r"}"}",
	</#if>
</#list>
				"right": null,
				"logic": null
			}],
			"circulationList": [{
				"linkID": "7f47b5bc-0a38-40c9-9028-ed7c16a7753b",
				"condition": "",
				"nodeId": "a5b1dea6-3430-4383-8dcf-239f8cb2d1dc",
				"nodeName": "结束组件"
			}]
		},
		"ports": {
			"groups": {
				"top": {
					"position": "top",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"right": {
					"position": "right",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"bottom": {
					"position": "bottom",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"left": {
					"position": "left",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"end": {
					"position": "top",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#31d0c6",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"start": {
					"position": "bottom",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				}
			},
			"items": [{
				"group": "top",
				"id": "0b0e762e-9419-4202-af0d-0b176bf6737c"
			}, {
				"group": "right",
				"id": "4cb49cb6-396b-4d14-9784-b99ba0b0734a"
			}, {
				"group": "bottom",
				"id": "9da1124c-1ce5-46ea-9fb7-5fd90e89c1da"
			}, {
				"group": "left",
				"id": "90c66402-20df-48aa-ba0f-cf994bfcd5c3"
			}]
		},
		"zIndex": 9
	}, {
		"position": {
			"x": 510,
			"y": 120
		},
		"size": {
			"width": 100,
			"height": 38
		},
		"attrs": {
			"body": {
				"fill": "#67C23A",
				"stroke": "#2dc9be",
				"strokeWidth": "1",
				"ValTxt": "开始组件",
				"ValType": "start"
			},
			"label": {
				"fill": "#fff",
				"refX": "50%",
				"textAnchor": "middle",
				"text": "开始组件",
				"y": 20
			},
			"variable": {
				"text": null
			},
			"field": {
				"text": null
			},
			"position": {
				"0": "b",
				"1": "o",
				"2": "t",
				"3": "t",
				"4": "o",
				"5": "m"
			}
		},
		"shape": "custom-node",
		"tools": {
			"items": [{
				"name": "button-remove",
				"args": {
					"x": 100,
					"y": 2,
					"zIndex": 10
				}
			}]
		},
		"id": "77ba8e19-d08c-482e-bf23-555561b03c94",
		"ports": {
			"groups": {
				"top": {
					"position": "top",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"right": {
					"position": "right",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"bottom": {
					"position": "bottom",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"left": {
					"position": "left",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"end": {
					"position": "top",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#31d0c6",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				},
				"start": {
					"position": "bottom",
					"attrs": {
						"circle": {
							"r": 8,
							"magnet": true,
							"stroke": "#873bf4",
							"strokeWidth": 1,
							"fill": "#fff",
							"style": {
								"visibility": "hidden"
							}
						}
					}
				}
			},
			"items": [{
				"group": "start",
				"id": "2ef91475-6e9f-4fd1-86e1-5d92a37398de"
			}]
		},
		"zIndex": 10,
		"formData": {
			"type": "start",
			"code": 1694437913031,
			"name": "开始节点",
			"circulationList": [{
				"linkID": "70aebc97-f7bb-40eb-85ef-9d25eba84ee1",
				"condition": "",
				"nodeId": "46f958ec-6a82-45cd-9f9d-8326932104ce",
				"nodeName": "名称：从数据库中删除"
			}]
		}
	}],
	"rectId": 1
}